import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/dialog',
    name: '弹框',
    component: () => import('@/views/infoDialog')
  },
  {
    path: '/panorama',
    name: '全景图',
    component: () => import('@/views/panorama')
  },
  {
    path: '/drawer',
    name: '抽屉',
    component: () => import('@/views/drawer')
  },
  {
    path: '/video',
    name: '视频播放',
    component: () => import('@/views/video')
  }
]

const router = new VueRouter({
  routes
})

export default router
